package cn.tedu.lbs.basic.web;

import cn.tedu.lbs.basic.web.manager.BasicOuputSourceManager;
import com.tarena.annotation.EnableMyConfig;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
@MapperScan("cn.tedu.lbs.basic.web.mapper")
@EnableDubbo
@EnableBinding(BasicOuputSourceManager.class)
@EnableMyConfig
public class Basic {
    public static void main(String[] args) {
        SpringApplication.run(Basic.class, args);
    }
    /*@Bean
    public RestTemplate init(){
        return new RestTemplate();
    }*/
}
